//$$---- Form CPP ----
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Help.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
THelpForm *HelpForm;
//---------------------------------------------------------------------------
__fastcall THelpForm::THelpForm(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall THelpForm::Button1Click(TObject *Sender)
{
	Close();	
}
//---------------------------------------------------------------------------
void __fastcall THelpForm::FormActivate(TObject *Sender)
{
        int MainFormMaxWidth = GetSystemMetrics(SM_CXSCREEN);
        int MainFormMaxHeight = GetSystemMetrics(SM_CYSCREEN);
        HelpForm->Left = (MainFormMaxWidth - HelpForm->Width) / 2;
        HelpForm->Top = (MainFormMaxHeight - HelpForm->Height) / 2;

        Memo1->Lines->Clear();
        Memo1->Lines->Add("Open\t\tCtrl+O\tChange the left-window directory");
        Memo1->Lines->Add("Save As\t\tCtrl+S\tChange the left-window directory");
        Memo1->Lines->Add("Exit\t\tAlt+X\tExit");
        Memo1->Lines->Add("Copy\t\tCtrl+C\tCopy the file to clipboard");
        Memo1->Lines->Add("Delete\t\tDel\tDelete the file");
        Memo1->Lines->Add("Paste\t\tCtrl+V\tPaste the file from clipboard");
        Memo1->Lines->Add("Convert\t\tF3\tConvert the DVS file from the left window to WAV file in the right window");
        Memo1->Lines->Add("Language\t\tSwitch the current language");
        Memo1->Lines->Add("Play\t\t\tRun the file in the right window");
        Memo1->Lines->Add("ConvertHelp\tF1\tSoftware's Help");
        Memo1->Lines->Add("About\t\t\tAbout the software");

        Button1->SetFocus();
}
//---------------------------------------------------------------------------
